import Vue from 'vue'
import App from './App.vue'
import router from './router'
import '@/assets/css/common.css'
import api from '@/api/index.js'
import { NavBar, Search } from 'vant'

Vue.use(Search)
Vue.use(NavBar)

Vue.config.productionTip = false
Vue.prototype.$api = api

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
